Cucumber Features

Expand All

Collapse All

Feature: account_creation

Background

  1. Given a new 'chrome' browser
    features/step_definitions/common_steps.rb:1
  2. Screenshot
     
@test_casefeatures/account_creation.feature:6

Scenario Outline: Account creation

  1. Given I navigate to homepage
    features/account_creation.feature:7
  2. When I click sign in
    features/account_creation.feature:8
  3. And I insert '<email>' in to the email field
    features/account_creation.feature:9
  4. And I click create account
    features/account_creation.feature:10
  5. And I insert '<firstName>' as name
    features/account_creation.feature:11
  6. And I insert '<lastName>' as last name
    features/account_creation.feature:12
  7. And I insert '<emailConfirmation>' as email
    features/account_creation.feature:13
  8. And I insert '<password>' as password
    features/account_creation.feature:14
  9. And I insert '<address>' as address
    features/account_creation.feature:15
  10. And I insert '<cityName>' as city
    features/account_creation.feature:16
  11. And I select a state
    features/account_creation.feature:17
  12. And I insert '<postalCode>' as postal code
    features/account_creation.feature:18
  13. And I select a country
    features/account_creation.feature:19
  14. And I insert '<mobilePhone>' as mobile phone number
    features/account_creation.feature:20
  15. And I select create account
    features/account_creation.feature:21
  16. Then I see the successful registration
    features/account_creation.feature:22

Examples

Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
Screenshot
 
email
firstName
lastName
emailConfirmation
password
address
cityName
postalCode
mobilePhone
zoey95@example.com
FrstName
LstName
zoey95@example.com
p455w0rd
8avn
MyCity
10000
09215589

Feature: product_search

Background

  1. Given a new 'chrome' browser
    features/step_definitions/common_steps.rb:1
  2. Screenshot
     
@Done3Steps @test_casefeatures/product_search.feature:8

Scenario: Verify simple product search

  1. Given I navigate to homepage
    features/step_definitions/common_steps.rb:18
  2. Screenshot
     
  3. When I search 'Summer Dress'
    features/step_definitions/product_search_steps.rb:1
  4. Screenshot
     
  5. And I select the first product
    features/step_definitions/product_search_steps.rb:9
  6. Screenshot
     
  7. Then I see a product with name like 'Summer Dress'
    features/step_definitions/product_search_steps.rb:17
  8. Screenshot
     

Feature: product_purchase

Background

  1. Given a new 'chrome' browser
    features/step_definitions/common_steps.rb:1
  2. Screenshot
     
@test_casefeatures/purchase_product.feature:6

Scenario: Purchase blouse form quick view

  1. Given I navigate to homepage
    features/step_definitions/common_steps.rb:18
  2. Screenshot
     
  3. When I LogIn
    features/step_definitions/common_steps.rb:36
  4. Screenshot
     
  5. And I navigate to homepage
    features/step_definitions/common_steps.rb:18
  6. Screenshot
     
  7. And I quick view a dress in the home page
    features/step_definitions/purchase_blouse_steps.rb:1
  8. Screenshot
     
  9. And I add the item to the cart
    features/step_definitions/purchase_blouse_steps.rb:9
  10. Screenshot
     
  11. And I proceed to check out
    features/step_definitions/purchase_blouse_steps.rb:17
  12. Screenshot
     
  13. And I proceed to checkout to 'Address'
    features/step_definitions/purchase_dress.rb:44
  14. Screenshot
     
  15. And I proceed to checkout to 'Shipping'
    features/step_definitions/purchase_dress.rb:44
  16. Screenshot
     
  17. And I agree to the terms
    features/step_definitions/purchase_dress.rb:60
  18. Screenshot
     
  19. And I proceed to checkout to 'Payment'
    features/step_definitions/purchase_dress.rb:44
  20. Screenshot
     
  21. And I select Bank Wire payment
    features/step_definitions/purchase_dress.rb:68
  22. Screenshot
     
  23. And I confirm my order
    features/step_definitions/purchase_dress.rb:76
  24. Screenshot
     
  25. Then My order is complete
    features/step_definitions/purchase_dress.rb:84
  26. Screenshot
     
@Done11Steps @test_casefeatures/purchase_product.feature:23

Scenario: Purchase dress

  1. Given I navigate to homepage
    features/step_definitions/common_steps.rb:18
  2. Screenshot
     
  3. When I LogIn
    features/step_definitions/common_steps.rb:36
  4. Screenshot
     
  5. And I navigate to homepage
    features/step_definitions/common_steps.rb:18
  6. Screenshot
     
  7. And I select Dresses
    features/step_definitions/purchase_dress.rb:1
  8. Screenshot
     
  9. And I select the first item
    features/step_definitions/purchase_dress.rb:10
  10. Screenshot
     
  11. And I Add the item to the cart
    features/step_definitions/purchase_dress.rb:19
  12. Screenshot
     
  13. And I select my cart
    features/step_definitions/purchase_dress.rb:35
  14. Screenshot
     
  15. And I proceed to checkout to 'Address'
    features/step_definitions/purchase_dress.rb:44
  16. Screenshot
     
  17. And I proceed to checkout to 'Shipping'
    features/step_definitions/purchase_dress.rb:44
  18. Screenshot
     
  19. And I agree to the terms
    features/step_definitions/purchase_dress.rb:60
  20. Screenshot
     
  21. And I proceed to checkout to 'Payment'
    features/step_definitions/purchase_dress.rb:44
  22. Screenshot
     
  23. And I select Bank Wire payment
    features/step_definitions/purchase_dress.rb:68
  24. Screenshot
     
  25. And I confirm my order
    features/step_definitions/purchase_dress.rb:76
  26. Screenshot
     
  27. Then My order is complete
    features/step_definitions/purchase_dress.rb:84
  28. Screenshot